package com.kgc.storeprovider.dao;

import com.kgc.store.pojo.CostAdjustDetail;
import com.kgc.store.pojo.CostAdjustment;

import java.util.List;
import java.util.Map;

public interface CostAdjustmentMapper {
    public CostAdjustment selectByCode(String code);
    public List<CostAdjustment> getAllCostAdjustment(Map<String,Object> map);
    public int getCostAdjustmentCount(Map<String,Object> map);
    public int addCostAdjustment(CostAdjustment costAdjustment);
    public int updateCostAdjustment(CostAdjustment costAdjustment);
    public int delCostAdjustment(String code);
    public int addDetail(Map<String,Object> map);
    public int delDetail(Map<String,Object> map);
    public int deleteDetail(String code);
    public int insertDetail(CostAdjustDetail costAdjustDetail);
    public int changPrice(Map<String,Object> map);
}
